package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import lombok.extern.slf4j.Slf4j;
// 导入 lombok 日志依赖
@Slf4j
@SpringBootApplication // 注解，装饰器，起到修改原始代码的功能
public class DemoYyyApplication {
    public static void main(String[] args) {
        SpringApplication.run(DemoYyyApplication.class, args);
        log.info("看到我代表运行成功");
    }
}